/*******************************************************************************
 * * Copyright 2012 Impetus Infotech.
 *  *
 *  * Licensed under the Apache License, Version 2.0 (the "License");
 *  * you may not use this file except in compliance with the License.
 *  * You may obtain a copy of the License at
 *  *
 *  *      http://www.apache.org/licenses/LICENSE-2.0
 *  *
 *  * Unless required by applicable law or agreed to in writing, software
 *  * distributed under the License is distributed on an "AS IS" BASIS,
 *  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  * See the License for the specific language governing permissions and
 *  * limitations under the License.
 ******************************************************************************/
package cn.ilikes.tools.hbase.jpa.metadatas.elements;

import java.lang.reflect.Field;

import cn.ilikes.tools.hbase.jpa.annotations.IndexColumn.Index;
import cn.ilikes.tools.hbase.jpa.annotations.IndexColumn.Store;
import cn.ilikes.tools.hbase.jpa.annotations.IndexColumn.TermVector;

/**
 * Contains Index information of a field.
 * 
 * @author animesh.kumar
 */
public final class IndexField {

	/** The name. */
	private String name;

	/** The boost. */
	private float boost = 1.0f;

	private Store store;

	private Index index;

	private TermVector termVector;

	public String getName() {
		return name;
	}

	public float getBoost() {
		return boost;
	}

	public void setBoost(float boost) {
		this.boost = boost;
	}

	public Store getStore() {
		return store;
	}

	public Index getIndex() {
		return index;
	}

	public TermVector getTermVector() {
		return termVector;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setStore(Store store) {
		this.store = store;
	}

	public void setIndex(Index index) {
		this.index = index;
	}

	public void setTermVector(TermVector termVector) {
		this.termVector = termVector;
	}

}